<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<script type="text/javascript">
			//var声明一个变量 =进行赋值
			//1.先声明后赋值
			var zx;
			zx = 123;
			
			//2.同时声明和赋值 使用较多
			var wanczy = 321;
			
			//3.同时声明多个变量，后赋值
			var zx01,zx02,zx03;
			zx01 = 1;
			zx02 = 2;
			zx03 = 3;
			
			//4.同时声明多个变量并赋值
			var wanczy01=11,wanczy02=12,wanczy03=13;
			
			document.write(wanczy01);
			document.write(wanczy02);
			document.write(wanczy03);
			
		</script>
	</head>
	<body>

	</body>
</html>
